package com.educate.device.rpc.api;

import com.educate.device.model.bo.DeviceStatusBO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface DeviceStatusService {

    void create(DeviceStatusBO bo);

    void delete(DeviceStatusBO bo);

    void delete(String deviceStatusId);

    DeviceStatusBO detail(String deviceStatusId);

    DeviceStatusBO detail(DeviceStatusBO bo);

    void update(DeviceStatusBO bo);

    Page<DeviceStatusBO> query(DeviceStatusBO bo, PageRequest pageRequest);

    List<DeviceStatusBO> list(DeviceStatusBO bo);
}
